package com.amadeus.commons.log.parser;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;


public class SystemLogParserTestDrive {

	public static void main(String[] args) {

		long begin = System.currentTimeMillis();
		Path file = Paths.get("/Users/nishant/tools/testdata/server/server.log00001.txt");
		try {
			new SystemLogParser().parse(Files.newByteChannel(file));
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.println(System.currentTimeMillis() - begin + " ms");

	}

}
